package com.ibeeking.found.cop.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ibeeking.found.common.base.BaseDO;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName  GroupTagsDO
 * @Description 群标签
 * @Author ibeeking
 * @Date 2021-01-15 10:44
 **/
@Data
@TableName("group_tags")
public class GroupTagsDO extends BaseDO implements Serializable {
    private static final long serialVersionUID = -1L;

    /**
     * 标签类型，0=手动；1=自动
     */
    @TableField(value = "type")
    private Integer type;

    /**
     * 标签类型
     */
    @TableField(value = "class_id")
    private Long classId;
    /**
     * 标签代码
     */
    @TableField(value = "tags_code")
    private String tagsCode;
    /**
     * 标签名称
     */
    @TableField(value = "tags_name")
    private String tagsName;

    /**
     * 自动标签规则json
     */
    @TableField(value = "tags_rule")
    private String tagsRule;
    /**
     * 顺序号
     */
    @TableField(value = "sort")
    private Long sort;
    /**
     * 标签描述
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 发布状态；0=禁用；1=启用
     */
    @TableField(value = "status")
    private Integer status;
}
